<KeyListEntry name="toggle-message-tray"
description="Show the notification list"/>
+ <KeyListEntry name="toggle-quick-settings"
+ description="Open the quick settings menu"/>
+
<KeyListEntry name="focus-active-notification"
description="Focus the active notification"/>
Keybinding to toggle the visibility of the notification list.
</description>
</key>
+ <key name="toggle-quick-settings" type="as">
+ <default>["<Super>s"]</default>
+ <summary>Keybinding to toggle the quick settings menu</summary>
+ <description>
+ Keybinding to toggle the quick settings menu.
+ </description>
+ </key>
<key name="focus-active-notification" type="as">
<default>["<Super>n"]</default>
<summary>Keybinding to focus the active notification</summary>
this._toggleMenu(this.statusArea.dateMenu);
}
+ toggleQuickSettings() {
+ this._toggleMenu(this.statusArea.quickSettings);
+ }
+
closeCalendar() {
this._closeMenu(this.statusArea.dateMenu);
}
Shell.ActionMode.POPUP,
this._toggleCalendar.bind(this));
+ this.addKeybinding('toggle-quick-settings',
+ new Gio.Settings({schema_id: SHELL_KEYBINDINGS_SCHEMA}),
+ Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
+ Shell.ActionMode.NORMAL | Shell.ActionMode.OVERVIEW |
+ Shell.ActionMode.POPUP,
+ this._toggleQuickSettings.bind(this));
+
this.addKeybinding('switch-to-application-1',
new Gio.Settings({schema_id: SHELL_KEYBINDINGS_SCHEMA}),
Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
Main.panel.toggleCalendar();
}
+ _toggleQuickSettings() {
+ Main.panel.toggleQuickSettings();
+ }
+
_showWorkspaceSwitcher(display, window, binding) {
let workspaceManager = display.get_workspace_manager();